﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Yeap.Kernel.Storage
{
    public class UserSettingRepository : RepositoryBase<UserSettings>, IUserSettingRepository
    {
        #region Implementation of IUserSettingRepository

        public IEnumerable<UserSettings> GetSettingsByUserId(int userId)
        {
            return Query(us => us.UserId == userId);
        }

        #endregion
    }
}